package jtk.project4.fleet.event;

import java.util.List;

import jtk.project4.fleet.domain.Attachments;
import jtk.project4.fleet.domain.Equipment;
import jtk.project4.fleet.event.AddAttachmentEvent.AddAttachmentEventType;
import nl.coderight.jazz.Event;


	public class AddAttachmentEvent extends Event<AddAttachmentEventType>{
		private List<Attachments> attachment;
		
		public enum AddAttachmentEventType{
			LOAD_SUCCESS,
			FILTER, ADD, EDIT, DELETE, SUBMIT, SAVE, CANCEL, SELECT, CHANGE;
		}

		public AddAttachmentEvent(AddAttachmentEventType type) {
			super(type);
		}

		public void setAttachment(List<Attachments> attachment) {
			this.attachment = attachment;
		}

		public List<Attachments> getAttachment() {
			return attachment;
		}
		
		
}
